package com.atguigu.starter;

/**
 * @author admin
 * @create 2020-04-11 17:49
 */
public class HelloService {

    HelloProperties helloProperties;

    public HelloProperties getHelloProperties() {
        return helloProperties;
    }

    public void setHelloProperties(HelloProperties helloProperties) {
        this.helloProperties = helloProperties;
    }

    public String sayHelloAtguigu(String name){

        return helloProperties.getPerfix()+"-"+name + helloProperties.getSubfix();
    }
}
